package sky.springboot.springbootjpa.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import sky.springboot.springbootjpa.bean.User;

import java.util.Optional;

/**
 *  JpaSpecificationExecutor => 该接口不能单独使用.需要配合其他接口使用
 */
public interface UserRepository extends JpaRepository<User,Long>,JpaSpecificationExecutor<User> {

}
